<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>
    <title>测试</title>
</head>
<body>
    <button onclick="getMoviesList()">发送请求</button>
</body>
<script>
    function getMoviesList(){
        axios.get('http://127.0.0.1:3000/movies').then(response=>{
            console.log(response)
        })
    }
</script>
</html>